﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class ReportRD : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        SqlDataSource1.SelectCommand = "select id,name from Report where member=" + Session["uid"].ToString();
        SqlDataSource1.DataBind();
        if (GridView1.Rows.Count <= 0)
        {
            promptLabel.Visible = true;
        }
        else
        {
            promptLabel.Visible = false;
        }
    }

    protected void GridView1_SelectedIndexChanged(object sender, EventArgs e)
    {
    }
}